package com.nutricia.core.service.impl;

import com.nutricia.common.dal.mapper.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 抽象service基类
 *
 * @author: huangsheng
 * @date: 2017/10/19 上午11:04
 */
public abstract class AbstractServiceImpl {

    /**
     * 系统日志对象
     */
    protected final Logger logger = LoggerFactory.getLogger(getClass());

    /**
     * 系统用户mapper
     */
    @Autowired
    protected SystemUserMapper systemUserMapper;

    /**
     * 系统菜单mapper
     */
    @Autowired
    protected SystemMenuMapper systemMenuMapper;

    /**
     * 系统角色mapper
     */
    @Autowired
    protected SystemRoleMapper systemRoleMapper;

    /**
     * 系统权限mapper
     */
    @Autowired
    protected SystemPermissionMapper systemPermissionMapper;

    /**
     * 菜单权限mapper
     */
    @Autowired
    protected MenuAndPermissionMapper menuAndPermissionMapper;

    /**
     * 角色权限mapper
     */
    @Autowired
    protected RolePermissionMapper rolePermissionMapper;

    /**
     * 用户角色mapper
     */
    @Autowired
    protected UserRoleMapper userRoleMapper;

    /**
     * 用户菜单角色mapper
     */
    @Autowired
    protected UserUnionMenuUnionPermissionMapper userUnionMenuUnionPermissionMapper;
    
    /**
     * 会议mapper
     */
    @Autowired
    protected MeetingMapper meetingMapper;
    
    /**
     * 主界面mapper
     */
    @Autowired
    protected MainInterfaceMapper mainIntrfaceMapper;
    
    /**
     * 会议新增mapper
     */
    @Autowired
    protected MeetingSignUpMapper meetingSignUpMapper;
    
    /**
     * 获取Token mapper
     */
    @Autowired
    protected GetAccessTokenMapper getAccessTokenMapper;
    
}
